PDS Implementation Manual | ||||
Programme |
NPFIT |
DOCUMENT NUMBER | ||
Sub-Prog/Project |
Comms & Messaging |
NPFIT-FNT-TO-DPM-0602 | ||
Prog. Director |
Paul Jones |
|||
Sub-Prog/Proj Mgr |
Ken Lunn | |||
Author |
C&M Development Team |
Version No. |
3.2 | |
Contact |
Richard Kavanagh |
Status |
Issued |
Contents
Change History
In Version | Author | Date | Amendment Details |
1.0 | Core Technical Team | 13/02/2004 | First release |
1.1 | Core Technical Team | 25/03/2004 | Change request DACM-NS-39: Changes and corrections for P1R1, mainly comprising documentation changes relating to constraints on data not supported by the PDS in P1R1. Details of changes made are given in section 10. |
2.0 | Core Technical Team | 10/05/2004 | Version to support P1R2 |
2.1 | Core Technical Team | 25/06/2004 | Change request DPM-0079.01. Details of changes made are given in section 10. |
2.2 | Core Technical Team | 16/07/2004 | Change request DPM-0192.01. Details of changes made are given in section 10. |
2.3 | Core Technical Team | 20/08/2004 | Fixed hyperlinks. |
2.4 | Core Technical Team | 26/08/2004 | Includes new generic Control Act Wrapper, new SDS OIDs and updated Agent SDS CMETs. |
2.5 | Core Technical Team | 29/10/2004 | Change requests MIM-CR-0034, 0053, 0095, 0116, 0059 and 0103. Details of changes made are given in section 10. |
2.6 | Core Technical Team | 06/12/2004 | Change requests MIM-CR-0208, 0270 and 0280. Details of changes made are given in section 9. Section 8 (Interaction Index) from previous MIM structure has been removed. |
2.7 | Core Technical Team | 31/03/2005 | Change requests MIM-CR-0239, 0240, 0242, 0275, 0299, 0419, 0428 and 0454. Details of changes made are given in section 9. |
2.8 | Core Technical Team |
05/08/2005 | Change requests MIM-CR-0547 and 0548. Details of changes made are given in section 9. |
3.0 |
Core Technical Team |
30/09/2005 |
Change requests MIM-CR-0626, 0627, 0630 and 0633. Details of changes made are given in section 9. |
3.1 |
Core Technical Team |
16/12/2005 |
Change Request MIM-CR-0659. Revisions to interactions due to changes with Infrastructure artefacts. |
3.2 | C&M Development Team | 05/05/2006 | Change Requests CR-0676, CR-0707. Change to a cardinality in PDS Successful Retrieval message, and changes for batching. Full details are given in section 9. |
The message definitions accessible from within this document have been defined to support a number of business processes, namely:
Use of Structured Address Format
There is an ongoing debate on the use of a defined structured address format. Until an IQAP decision has been reached on the appropriate structure the message format will use a 5 line unstructured format with Post Code and PAF key.
The NHAIS address format shall be used when inserting / updating unstructured addresses in PDS, as illustrated below:
PDS Field |
Required format |
Address 1 |
Premises ID |
Address 2 |
No/Thoroughfare |
Address 3 |
Locality |
Address 4 |
Post Town |
Address 5 |
County |
Postcode |
Post code |
Assumptions and Constraints
Inbound addresses:
· The NHAIS address format will apply to addresses inserted or updated via the Allocate NHS Number and PDS General Update messages. The following address lines are deemed to be mandatory:
Use of Advance Trace
There is an Information Governance directive to meet Caldicott guidance that when carrying out an Advanced Trace, no more information can be returned to the User than they are searching upon - until the number of returns is equal to one. It has been agreed for performance purposes that this will be managed at the local level.
Sensitivity Information Status
It is important that the sensitivity/confidentiality flags are dealt with in accordance with the IQAP Stop-noting MOU. The Successful Retrieval, Trace Match and NHS Number Confirmation messages return the 'Y', 'S', and 'B' values. These are for LSP system use only for managing behaviour around each status, they must not be displayed to the user.
NHAIS Registration Status (flag indicating no current Health Authority posting)
The NHAIS Registration status field (i.e. the flag used in some messages to indicate that a patient has no current Health Authority posting) will only be updatable by NSTS in P1. It has however been included in the PDS General Update message for extensibility purposes.
Example 1
Peter Parkinson has a consultation with Dr Jean Genome today to discuss the likelihood that he has inherited Parkinson’s disease. Peter’s father died last year so Peter gives his permission for Dr Genome to look at his father John’s records. Dr Genome enters John’s name, sex, date of birth, date of death and postcode onto the system and performs PDS Trace Query.
Example 2
Kari Kidd, a 2 year old who is failing to thrive, is taken by her mother Mary to a Paediatric Clinic following referral by their GP. Upon arrival she is checked in by Jane the clerk. Jane asks Mary basic details such as Kari’s full name, post code, sex and date of birth and uses them to do a PDS Trace Query.
Example 3
Julie Partner, a diabetic since she was a child, is taken into the Accident and Emergency department of GHH in a confused state by her close friend John. Tracy Record the receptionist does a PDS Trace Query using the details known by John which are Julie’s name, her date of birth and her gender. Initially Tracy forgets to enter a date of birth into the query and gets a Query Failure message saying “Response failure due to inadequate, incorrect or invalid information in request”. Further descriptive text in the response indicates that a mandatory item is missing. Tracy repeats the query with all mandatory items but unfortunately this is insufficient to distinguish Julie from several other possible matches. As PDS Trace Query can only return information where there is a single record matching, PDS returns a Query Failure message saying “Multiple match – number of entries exceed current operational limit for number of matches returned”
The local PAS system at the A&E in Exeter is about to become NCRS compliant. It has a number of entries for patients without NHS Numbers. In order to reconcile it’s database against the PDS it sends a batch of PDS Trace Query interactions, including the details of the patients without numbers. The PDS responds with a batch containing:
PDS Trace Match interactions for all the exact matches it has found, with the local system is updated accordingly;
Query Failure interactions for all cases where an exact match was not possible; these are noted and investigated individually.
Example 1
Amandeep Archive is processing medical records of dead patients in preparation for archive. One of her tasks is to check that the information on the labels is correct. Amandeep enters the address, sex, date of birth, date of death, NHS number, name (surname, initial and prefix) and GP code and requests no history. She then performs a PDS Advanced Trace Query which returns a single match to the patient. Amandeep checks the details and marks the file as checked and ready for archive.
Example 2
Dr Greg Practice is driving to work and witnesses a road traffic accident. One casualty is unconscious but Dr Practice recognises him as Mr Wallace who came to see him last month. Dr Practice assists the paramedics and provides as many demographic details for Mr Wallace as he can remember.
At A&E Tracey Record the receptionist performs a PDS Advanced Trace Query on Mr Wallace using sex, date of birth range and family name and initial and GP code provided by Dr Practice. She also requests history to assist her in identifying Mr Wallace’s record.
Example 3
Amandeep Archive is processing medical records of dead patients in preparation for archive. One of her tasks is to check that the information on the labels is correct. One of the labels is smudged so Amandeep enters the address, the postcode with a wildcard, sex, date of birth, date of death, NHS number, name (surname, initial both with wildcards) and GP code and requests no history. She then performs a PDS Advanced Trace Query.
Example 4
Eve Everywoman has moved out from her parent’s house in Scotland to a new apartment in London and soon after visits a local GP surgery to register for services. She has enjoyed good health and has not visited her previous GP for many years. Jack Puttin who is working on reception tries several PDS searches with PDS Advanced Trace Query using parts of Eve’s name, date of birth ranges, sex and various combinations of past addresses that Eve has resided in but PDS replies in each case with “No Match to a Service User record” within a Query Act Failed message. This is because there has been no automatic bulk transfer of Scottish patient demographic details to the PDS database and Eve is simply not present within the system.
Example 1
See Trace Example 1. Jean Genome’s search for Peter’s father John is successful and only one match is found. A PDS Trace Match returns the NHS number, usual address, telephone numbers, current usual name, sex, date of birth, date of death, status of death notification and GP. She then uses this information to access John’s records to see if any there is any clinical information relating to Parkinson’s disease.
Example 2
See Advanced Trace Example 2. Tracey Record receives back a PDS Trace Match containing two matches to her PDS Advanced Trace Query for Mr Wallace. Although Tracey requested history, neither record contained history. Both records contain NHS number name, sex, date of birth and current GP but one record also contains a date of death. Tracey is looking at the record for the live patient when one of the paramedics comes past with the news that Mr Wallace has come around and given his date of birth. Tracey checks that the record she is viewing matches Mr Wallace’s date of birth and selects it.
Example 3
See Trace Example 2. Jane receives back the PDS Trace Match for Kari Kidd showing the NHS number and name. The other details (address, telecommunications and GP) have been suppressed because the Sensitivity Information Status (Confidentiality Code) is set to S.
Jane completes the check in process and sends Mary and Kari through for their consultation.
Example 4
See Advanced Trace Example 3. Amandeep receives back the PDS Trace Match which contains two records. The first record contains NHS number, name, sex, full date of birth, full date of death and GP. The second record contains the NHS number and name and the remaining details are suppressed due to the Sensitivity Information Status being set. Amandeep checks the first record and confirms that the details match those on the label and on the front page of the file. Amandeep re labels the file and marks it as checked and ready for archive.
Example 1
Tracey Record is setting up a clinic list for Dr Richard Kildare. For each patient on the list Tracey performs a PDS Retrieval Query requesting only the Serial Change number. When a PDS Successful Retrieval is received with the patient Serial Change number this number is checked against the one held locally. If they are the same (i.e. no updates have been made to the patient information on PDS) then Tracey adds the patient to the clinic list.
Example 2
Tracey Record is supervising the orthopaedic out patient clinic. When each patient arrives, Tracey performs a PDS Retrieval Query and requests all person demographics including history. She then checks the details returned in the PDS Successful Retrieval with the patient before sending the patient through to the waiting room.
Example 3
Adam Everyman has returned from his GP with a referral to see a consultant at Good Health Hospital on the following Monday. Adam normally takes a close friend Sandra Proxy with him when he makes a trip to GHH but she isn’t available on that day. Adam asks if she will cancel the appointment for him. Sandra telephones Oliver Operator at the e-booking service who checks to see if Sandra is a valid proxy for Adam. Oliver sends a PDS Retrieval Query to PDS including Adam’s NHS number and a parameter indicating that Proxy information is required. Oliver is able to see from the results returned in the PDS Successful Retrieval message that Sandra is a valid proxy and therefore rearranges the appointment as requested.
Example 4
Delia Death receives notification from Dr Richard Kildare that a patient Ann Terminal has died in the hospital. Brenda performs a successful trace on Ann Terminal and then performs a PDS Retrieval Query requesting name, date of birth, date of death and sex. Delia is able to see the results in the PDS Successful Retrieval message and from this she can see that the Date of Death has already been updated on PDS.
Example 5
GP Dr Clara Certified’s practice is no longer dispensing prescriptions to their patients. Rita Ritalin has her regular appointment with Dr Certified today. Dr Certified performs a PDS Retrieval Query requesting pharmacy details for Rita. From the PDS Successful Retrieval message Dr Certified can see that Rita has the practice pharmacy as her nominated pharmacy. During the consultation, Dr Certified explains that the practice no longer has a dispensary and suggests some alternative pharmacies to Rita.
Example 6
Neville Nuclear visits his GP Clara Certified because of feeling tired. Dr Certified completes a request form, takes a specimen of blood and sends it to the Pathology Laboratory at Good Health Hospital for a range of thyroid function tests. Christopher Clerk the receptionist at the laboratory notices that the Laboratory Information Management System (LIMS) has no recorded address for Neville. Christopher uses the NHS Number on the form to retrieve address details using the PDS Retrieval Query. He is only interested in current address so does not ask for historic data. Unfortunately he misreads a 5 for a 6. PDS recognizes the check digit is now incorrect and issues a Query Act Failed message containing the code for “Response failure due to inadequate, incorrect or invalid information in request”.
One of the consultants at the Optometry department at the RD&E Hospital in Devon is taken ill suddenly and looks likely to be off on long term sick for 3 months. The department manager immediately attempts to rearrange cover for her, but is forced to reschedule a number of appointments within that period. In order to inform all the patients affected it is decided that each one will be sent a letter explaining the situation and offered an alternate appointment. Their local system is NCRS compliant so in order to ensure that the letters go to the most up to date addresses, the administrator puts together a Batch of Retrieval Requests, with NHS Numbers, for all the patients affected. This is sent to the SPINE via a batch of PDS Retrieval Query interactions, which using the batching mechanism described in the Infrastructure manual. The SPINE returns a batch of PDS Successful Retrieval interactions in response, with details for each patient. The administrator then proceeds to update the local system where necessary and produce the letters required.
Example 1
Tracey Record has a list of patients who need to be invited for follow up to Dr Richard Kildare’s clinic. She sets up a list of NHS numbers and requests a PDS Confirm NHS Number Query for each number. Tracey checks the details returned (NHS Number, address, name, sex, date of birth, date of death and death notification status) in the PDS NHS Number Confirmation messages initially to make sure the patients are still alive. Where a date of death and a death status has been returned Tracey makes a note to follow these up later. For all the other patients, Tracey uses the details returned in the PDS NHS Number Confirmation messages to set up a mail merge file. Tracey then uses this mail merge file to issue an invitation letter to each patient for the clinic.
Example 2
Adam Everyman has a fall at home and visits his GP Dr Clara Certified for a consultation. Dr Certified decides to send Adam to Good Health Hospital (GHH) hospital for an X-ray of his arm and arranges by telephone with Brenda Book the appointments clerk for Adam to attend the following morning. Brenda enters the request into the Radiology Information System (RIS) using details she finds on the local Patient Management System (PMS).
The last time Adam visited the GHH was five years previously when he was assigned an NHS number. Unfortunately this was set up manually as PDS was not operational and a mistake was made when the number was entered.
The RIS at GHH is configured to make sure that details on all patients expected to visit the Department on any particular day are as up to date as possible. Prior to Alan’s appointment an PDS Confirm NHS Number Query is started by Brenda containing Adam’s patient identifier so that she can confirm the accuracy of the locally held data. Due to the error in the NHS number held by the local PMS, PDS can find no trace Adam’s record and returns an error in the Query Act Failed message indicating there was “No Match to a Service User record”.
Example 1
Albert Ensten has returned to England after spending many years abroad. Albert has changed his name several times and can’t remember any addresses he had in England. He does remember being in hospital as a child in Devon. Amy Armstrong tries several PDS Advanced Trace Querys using some of the names Albert has used over the years but she can find no record for Albert. She decides to allocate an NHS Number and completes the on screen record with the information that Albert provides, address, telephone, name, sex, date of birth. She also asks Albert for his preferences and adds his preferred contact method, preferred written communication format and preferred language and interpreter required. She also marks the record to say that Albert has had previous NHS contact. This is transmitted to PDS as a PDS Allocate NHS Number Request and a NHS number is allocated and returned via the PDS Allocate NHS Number Response.
Example 2
Eve Everywoman has moved out from her parent’s house in Scotland to a new apartment in London and soon after visits her local PCT to register for NHS services. She has enjoyed good health and has not visited her previous GP for many years. Martha Puttin who is working on reception attempts several PDS Advanced Trace Querys but as she can find no previous record she decides to allocate a NHS number. She carefully completes the on screen record detailing Eve’s full name, address, date of birth, sex and telephone number as well as the GP practice number. Martha also marks the record to show that Eve has no previous NHS contact (in England).This is transmitted to PDS as a PDS Allocate NHS Number Request and a NHS number is allocated and returned via the PDS Allocate NHS Number Response.
Eve Everywoman has moved out from her parent’s house in Scotland to a new apartment in London and soon after visits a local GP surgery to register for services. She has enjoyed good health and has not visited her previous GP for many years. Jack Puttin who is working on reception attempts a PDS Advanced Trace Query several times but as he can find no previous record he decides to allocate a NHS number. He completes the on screen record detailing Eve’s full name, date of birth, sex and telephone number as well as the GP practice number. This is transmitted to PDS as a PDS Allocate NHS Number Request. Unfortunately Jack omits to enter either a permanent or temporary address in the request and as this is a mandatory item PDS responds with an error in the Application Acknowledgement. Additional text is also supplied detailing the problem.
A GP at the Good Health Medical Centre, Dr Clara Certified, is called out to see one of her patients, Mr. Ned Nuclear by his wife Nancy. Ned has been suffering from carcinoma of the lung and despite chemotherapy his health has continued to decline. After examining Ned carefully Clara pronounces him as dead. She completes a death certificate for the family and after helping the family make arrangements Clara returns to the surgery. She updates Ned’s PDS record using the PDS General Update Request including the date and time of death. PDS responds with a code meaning the update was performed successfully within the PDS Successful Update Response message.
Example 1
Maria Sanchez registered for NHS services some time ago. She has recently married and moved in to a new home with her husband and his children. Maria visits her GP surgery and Jack Puttin retrieves Maria’s details and enters Maria’s new name, address and telephone numbers. He also adds details of her step children as family/close contacts. Maria has brought this information in written on paper so Jack asks Maria whether she would like to have a language or interpreter recorded on her record. Maria agrees and Jack enters Maria’s language and that she would like an interpreter. Jack updates Maria’s record using the PDS General Update Request and PDS responds with a PDS Successful Update Response message.
Example 2
Eve Everywoman registered for NHS services some time ago. She works as an actress, has recently been in a very successful film and as a result she is now a well known celebrity. On the advice of her legal advisors she writes to her local Primary Care Trust requesting that her records are updated. She asks that her stage name of Sarah Showtime and her move to Marilyn Mansions are noted. The Records Supervisor at the PCT, Maria Manager, performs a PDS General Update Request supplying Eve’s alias name and new address with a date effective taken from the letter. Unfortunately the date on the letter is the 30th of February so PDS responds with an “Update failed” code within the Application Acknowledgement message plus additional text detailing the problem.
Example 1
Julie Partner visits her GP with a persistent cough and cold. It has been some time since Julie has visited the Good Health Medical Centre so Jack Puttin checks her records using PDS. He notices that Julie is recorded as Implied Consent with regard to her records being shared with other NHS care professionals. Jack asks her whether she has any objection to her medical records being shared in case she has to be referred. Julie listens carefully to Jack about the benefits but decides that she does not want to give consent. Jack uses the PDS General Update Request message to inform PDS of the change from Implied Consent to Express Dissent and explains to Julie how this could affect her NHS care in the future. PDS responds with a PDS Successful Update Response message back to the requesting system.
The applications involved in the business processes listed above play specific roles. These, along with a description of the interactions associated with each role, are identified below.
The PDS Query Placer is the initiator of any type of query to the PDS. Types of query include: Trace, Advanced Trace, Retrieval and Confirm NHS Number.
The PDS Registration Requester is the initiator of a request to allocate an identifier for a patient.
The PDS Update Requester is the person or organization responsible for requesting an update to a Service User record on the PDS.
The PDS Query Fulfiller responds to queries sent to the PDS. Types of query include: Trace, Advanced Trace, Retrieval and Confirm NHS Number.
The PDS Registration Fulfiller is the PDS acting in the role of provider of a newly allocated patient identifier for the set of patient details specified in a PDS NHS Number Allocation Request.
The PDS Update Fulfiller is the PDS acting in the role of updater of information relating to a patient registered on the PDS.
The trigger events which cause each interaction to be initiated are identified below.
The PDS Trace Query Started trigger event signals that a new trace query has been started in order to search for a patient given a suitable combination of name, DoB and postcode.
The PDS Advanced Trace Query Started trigger event signals that a new advanced trace query has been started in order to search for a patient using a wider range of search parameters that in a PDS Trace Query.
The PDS Trace Query Successful trigger event signals that the result of a PDS Trace Query is that a single identifiable patient has been found on the PDS, or that the result of a PDS Advanced Trace Query is that one or more (but not more than a limit constrained by the PDS) identifiable patients were found on the PDS.
The PDS Retrieval Query Started trigger event signals that a new request to retrieve a patient's demographic details has been made.
The PDS Retrieval Query Successful trigger event signals that the result of a PDS Retrieval Query is that the identified patient has been found on the PDS, and that demographic details are being returned for that patient.
The PDS Confirm NHS Number Query Started trigger event signals that a new request to confirm a patient's NHS number has been made.
The PDS NHS Number Confirmed trigger event signals that the result of a PDS Confirm NHS Number Query is that the identified patient has been found on the PDS, and that some demographic details are being returned for that patient.
The PDS NHS Number Allocation Request Started trigger event signals that a new request to allocate a NHS number for a patient has been made.
The PDS NHS Number Allocation Request Completed trigger event signals that the result of a PDS NHS Number Allocation Request is that a newly allocated NHS number is being returned for that patient.
The PDS Successful Update Response trigger event signals that the result of a PDS Update is that the details have been updated on PDS.
The PDS General Update Started trigger event signals that some patient details, possibly including consent and / or death information, have been changed, corrected or some new details are available, and are to be recorded on the PDS.
This section provides diagrammatic representation of which interactions are related to which application roles.
The PDS Trace Query Started interaction occurs when a request to trace a patient on the PDS is started. The PDS Query Placer sends a PDS Trace Query, with the various patient details, to the PDS Query Fulfiller.
Sending Role | PDS Query Placer | |
Receiving Role | PDS Query Fulfiller | |
Trigger Event | PDS Trace Query Started | |
Transmission Wrapper | Send Message Payload | |
Message Type | PDS Trace Query |
This interaction may be batched using the generic batching mechanism described in the Infrastructure domain.
Click here for details of this mechanism.
Receiver Responsibilities
Reason | Interaction |
Query failed | Query Act Failed: |
Query successful | PDS Trace Query Successful: |
NB: The interactions listed in the above table can be batched in response to a batch of PDS Trace Query Started interactions, with one or other or both types of interaction being present in the batched response.
The PDS Advanced Trace Query Started interaction occurs when a request to trace a patient on the PDS using advanced trace mechanisms is started. The PDS Query Placer sends a PDS Advanced Trace Query, with the various patient details, to the PDS Query Fulfiller.
Sending Role | PDS Query Placer | |
Receiving Role | PDS Query Fulfiller | |
Trigger Event | PDS Advanced Trace Query Started | |
Transmission Wrapper | Send Message Payload | |
Message Type | PDS Advanced Trace Query |
Receiver Responsibilities
Reason | Interaction |
Query failed | Query Act Failed: |
Query successful | PDS Trace Query Successful: |
The PDS Trace Query Successful interaction occurs when a request to trace a patient on the PDS results in a successful match. The PDS Query Fulfiller sends a PDS Trace Match, with a number of data fields relating to the patient or patients, to the PDS Query Placer.
Sending Role | PDS Query Fulfiller | |
Receiving Role | PDS Query Placer | |
Trigger Event | PDS Trace Query Successful | |
Transmission Wrapper | Application Acknowledgement | |
Control Act Wrapper | Query Acknowledgment Response | |
Message Type | PDS Trace Match |
This interaction may be batched in response to a batch of PDS Trace Query Started interactions, using the generic batching mechanism described in the Infrastructure domain. Click here for details of this mechanism.
The PDS Retrieval Query Started interaction occurs when a request to retrieve patient details from the PDS is started. The PDS Query Placer sends a PDS Retrieval Query, with the patient's identifier, to the PDS Query Fulfiller.
Sending Role | PDS Query Placer | |
Receiving Role | PDS Query Fulfiller | |
Trigger Event | PDS Retrieval Query Started | |
Transmission Wrapper | Send Message Payload | |
Message Type | PDS Retrieval Query |
This interaction may be batched using the generic batching mechanism described in the Infrastructure domain.
Click here for details of this mechanism.
Receiver Responsibilities
Reason | Interaction |
Query failed | Query Act Failed: |
Query successful | PDS Retrieval Query Successful: |
NB: The interactions listed in the above table can be batched in response to a batch of PDS Retrieval Query Started interactions, with one or other or both types of interaction being present in the batched response.
The PDS Retrieval Query Successful interaction occurs when a request to retrieve patient details from the PDS results in a successful match on the patient identifier and all criteria for retrieving the data are met. The PDS Query Fulfiller sends a PDS Successful Retrieval, with a number of data fields, to the PDS Query Placer.
Sending Role | PDS Query Fulfiller | |
Receiving Role | PDS Query Placer | |
Trigger Event | PDS Retrieval Query Successful | |
Transmission Wrapper | Application Acknowledgement | |
Control Act Wrapper | Query Acknowledgment Response | |
Message Type | PDS Successful Retrieval |
This interaction may be batched in response to a batch of PDS Retrieval Query Started interactions, using the generic batching mechanism described in the Infrastructure domain. Click here for details of this mechanism.
The PDS Confirm NHS Number Query Started interaction occurs when a request to confirm patient details from the PDS is started. The PDS Query Placer sends a PDS Confirm NHS Number Query, with a set of details relating to the patient, to the PDS Query Fulfiller.
Sending Role | PDS Query Placer | |
Receiving Role | PDS Query Fulfiller | |
Trigger Event | PDS Confirm NHS Number Query Started | |
Transmission Wrapper | Send Message Payload | |
Message Type | PDS Confirm NHS Number Query |
Receiver Responsibilities
Reason | Interaction |
Query failed | Query Act Failed: |
Query successful | PDS NHS Number Confirmed: |
The PDS NHS Number Confirmed interaction occurs when a request to confirm patient details from the PDS is successful. PDS Query Fulfiller sends a PDS NHS Number Confirmation, with a number of data fields to reduce the need for further queries following confirmation, to the PDS Query Placer.
Sending Role | PDS Query Fulfiller | |
Receiving Role | PDS Query Placer | |
Trigger Event | PDS NHS Number Confirmed | |
Transmission Wrapper | Application Acknowledgement | |
Control Act Wrapper | Query Acknowledgment Response | |
Message Type | PDS NHS Number Confirmation |
The PDS NHS Number Allocation Request Started interaction occurs when a request to allocate an identifier for a patient is started. The PDS NHS Number Allocation Requester sends a PDS Allocate NHS Number Request, with a set of details relating to the patient, to the PDS NHS Number Allocation Fulfiller.
Sending Role | PDS Registration Requester | |
Receiving Role | PDS Registration Fulfiller | |
Trigger Event | PDS NHS Number Allocation Request Started | |
Transmission Wrapper | Send Message Payload | |
Control Act Wrapper | Control Act | |
Message Type | PDS Allocate NHS Number Request |
Receiver Responsibilities
Reason | Interaction |
Request failed | Application Acknowledgement: |
Request successful | PDS NHS Number Allocation Request Completed: |
The PDS NHS Number Allocation Request Completed interaction occurs when a request to allocate an identifier for a patient has completed. The PDS NHS Number Allocation Fulfiller sends a PDS Allocate NHS Number Response to the PDS NHS Number Allocation Requester providing a newly allocated NHS number.
Sending Role | PDS Registration Fulfiller | |
Receiving Role | PDS Registration Requester | |
Trigger Event | PDS NHS Number Allocation Request Completed | |
Transmission Wrapper | Application Acknowledgement | |
Control Act Wrapper | Control Act | |
Message Type | PDS Allocate NHS Number Response |
The PDS Successful Update Response interaction occurs when an update request to PDS has been accepted. The PDS Update Tracker sends a PDS Successful Update Response to the PDS Update Informer.
Sending Role | PDS Update Fulfiller | |
Receiving Role | PDS Update Requester | |
Trigger Event | PDS Successful Update Response | |
Transmission Wrapper | Application Acknowledgement | |
Control Act Wrapper | Control Act | |
Message Type | PDS Successful Update Response |
The PDS General Update Started interaction occurs when a change in the patient's administrative details, possibly including consent and death information, is recorded. The PDS Update Requester sends a PDS General Update Request, with the changed, corrected or new details to the PDS Update Fulfiller.
Sending Role | PDS Update Requester | |
Receiving Role | PDS Update Fulfiller | |
Trigger Event | PDS General Update Started | |
Transmission Wrapper | Send Message Payload | |
Control Act Wrapper | Control Act | |
Message Type | PDS General Update Request |
Receiver Responsibilities
Reason | Interaction |
Update failed | Application Acknowledgement: |
Update successful | PDS Successful Update Response: |
This section describes each of the message types used amongst the various interactions. For each message type, links are provided to detailed documentation:
Search for patient based on a limited set of parameters. The following data items are used in the search algorithm.
Family Name/Surname (Mandatory);
Given Name/Forename;
Other Name;
Date of Birth (Mandatory);
Date of Death (not including Time of Death);
Sex (Mandatory);
Postcode (full postcode only);
PAF key.
The Name details will be compared to all name types (i.e. usual, previous, preferred, alias).
The Postcode or PAF key will be used to search all address types.
Features of this example include:
Features of this example include:
The Advanced Trace supports tracing based on the following parameters:
Family Name/Surname;
Given Name/First Name;
Other Given Name;
Date of Birth or Date of Birth Range;
Date of Death or Date of Death range;
Sex;
Address Lines 1-5;
Postcode;
PAF Key;
Primary Care Data.
The following parameters are also required:
Historic Data Flag;
Search Type (Alphanumeric or Algorithmic).
For Alphanumeric searches the mandatory data items are:
Family Name/Surname;
Sex;
Search Type = 1.
The Name details will be compared to all name types (i.e. usual, previous, preferred, alias).
The following details are ignored: name suffix, title, Person Name Classification.
The address details will be compared to all addresses (usual, correspondence, temporary). The Address Association Type if given is not used.
The Alphanumeric search does not cater for misspellings or typographical errors. However, it is possible to use a wildcard character (*) with at least two preceding characters.
Partial postcodes may be used for Alphanumeric searches by using a part of the postcode and a wildcard character (*).
For Algorithmic searches the following combinations have been proposed. Note that these may be subject to refinement:
The name details will be compared to all name types (i.e. usual, previous, preferred, alias).
The following details are ignored name suffix, title, Person Name Classification.
The address details will be compared to all addresses (usual, correspondence, temporary). The Address Association Type if given is not used.
Features of this example include:
Features of this example include:
Features of this example include:
Return match after either a trace or advanced trace search using input parameters.
Single match responses are to a high confidence level. Matching algorithms will deliver a quantitative matching level and PDS policy may vary on the level required for a trusted match. Trace can only return a single match, while advanced trace can return multiple matches.
Features of this example include:
Features of this example include:
Features of this example include:
Features of this example include:
A request for patient details to PDS. The retrieval message supports requests for any or all of the retrievable fields. A history flag is used to indicate whether or not historic data is to be returned in addition to current data.
Features of this example include:
Features of this example include:
Features of this example include:
Features of this example include:
Features of this example include:
A general class of retrieval message containing the maximum permissible fields able to be retrieved.
Features of this example include:
Features of this example include:
Features of this example include:
Features of this example include:
Features of this example include:
To confirm that the PDS Service User Record for this NHS Number is consistent with the locally-held patient details as indicated by the unique version control number.
Note both PDS and NHAIS temporary NHS Numbers may also be used.
Features of this example include:
A positive response to the confirm NHS Number query. A number of PDS data fields are output as part of the response, to reduce the need for additional queries immediately following confirmation.
Features of this example include:
Features of this example include:
To make a request on PDS to allocate a NHS Number. The minimum set of data items judged adequate to make a NHS Number allocation will vary according to PDS operational policy.
Minimum mandatory details are: name, Date of Birth, gender and a permanent or temporary address.
Features of this example include:
Features of this example include:
The Result message contains the NHS Number if the request has been successful.
Features of this example include:
Used in response to a message which updates the PDS to indicate that the update has been successful and provided the nature of that success.
Features of this example include:
This update allows modification of all updateable PDS data fields, including consent and death information.
Features of this example include:
Features of this example include:
Features of this example include:
Data type | The structural format of the data carried in an attribute. |
Data type flavour | A subdivision of a particular data type. |
NHAIS | National Health Applications & Infrastructure Services, |
OID | Object Identifier, a unique identifier e.g. used to identify coding systems. |
PAF Key | Postal Address File, a unique numerical key assigned to every delivery location in the UK. |
PCT | Primary Care Trust, responsible for primary and community health services within a geographical boundary. |
PDS | Patient Demographic Service |
SDS | Spine Directory Services |
Service User | A person who is registered on the PDS |
UUID | Universally Unique Identifier |
CR-0676: PDS Successful Retrieval - PRPA_MT040101UK30 is reversioned to PRPA_MT040101UK31. This is because a change has been made to the cardinality of pertinentInformation which leads to SerialChangeNumber. The Serial Change Number will always be supplied, so the cardinality has been changed from 0..1 to 1..1. Tabular view, schema and XML examples also reversioned accordingly.
PDS Retrieval Query Started - QUPA_IN040000UK31 is reversioned to QUPA_IN040000UK32 because of the following changes: the Query Successful receiver responsibility interaction has been updated to QUPA_IN050000UK32 (CR-0676); the Transmission Wrapper has been changed from Send Message Payload (optional sender/receiver) to Send Message Payload (CR-0707); the Query Failed receiver responsibility interaction has been changed from Query Act Failed (optional sender/receiver) to Query Act Failed (CR-0707).
PDS Retrieval Query Successful - QUPA_IN050000UK31 is reversioned to QUPA_IN050000UK32 because of the following changes: the payload has been updated to PRPA_MT040101UK31 (CR-0676); the Transmission Wrapper has been changed from Application Acknowledgement (optional sender/receiver) to Application Acknowledgement (CR-0707).
CR-0707: PDS Trace Query Started - QUPA_IN010000UK31 is reversioned to QUPA_IN010000UK32 because the Transmission Wrapper has been changed from Send Message Payload (optional sender/receiver) to Send Message Payload, and the Query Failed receiver responsibility interaction has been changed from Query Act Failed (optional sender/receiver) to Query Act Failed.
CR-0707: PDS Trace Query Successful - QUPA_IN030000UK31 is reversioned to QUPA_IN030000UK32 because the Transmission Wrapper has been changed from Application Acknowledgement (optional sender/receiver) to Application Acknowledgement.
CR-0707: PDS Advanced Trace Query Started - QUPA_IN020000UK30 is reversioned to QUPA_IN020000UK31 because the Query Successful receiver responsibility interaction has been updated to QUPA_IN030000UK32.
CR-0676: QUPA_IN040000UK31 is reversioned to QUPA_IN040000UK32 and QUPA_IN050000UK31 is reversioned to QUPA_IN050000UK32 as outlined above.
CR-0707: QUPA_IN010000UK31 is reversioned to QUPA_IN010000UK32, QUPA_IN020000UK30 is reversioned to QUPA_IN020000UK31 and QUPA_IN030000UK31 is reversioned to QUPA_IN030000UK32 as outlined above.